package com.jjvu.news.service;

import com.jjvu.news.dao.Info;
import org.springframework.stereotype.Service;

import java.util.List;

public interface InfoDetailService {
    List<Info> findInfoAll();

    List<Info> findInfoPageAll(Integer page, Integer size);

    Info findInfoById(Integer info_id);

    boolean updateInfo(Info info);

    Info findNameByInfoId(Integer info_id);

    boolean addInfo(Info info);

    boolean deleteInfo(List<Integer> deviceIds);
}
